// dlg.txt

//mark_quest_dest(zone,x,y,layer,quest);

begintalkscript;

variables;


// MIXED

begintalknode;
	tag = 13;
	condition = 1;
	text1 = "__";

begintalknode;
	tag = 14;
	condition = 1;
	text1 = "__";

begintalknode;
	tag = 15;
	condition = 1;
	text1 = "__";

begintalknode;
	tag = 16;
	condition = 1;
	text1 = "__";

begintalknode;
	tag = 17;
	condition = 1;
	text1 = "__";

begintalknode;
	tag = 18;
	condition = 1;
	text1 = "__";

begintalknode;
	tag = 19;
	condition = 1;
	text1 = "__";

begintalknode;
	tag = 20;
	condition = 1;
	text1 = "__";

begintalknode;
	tag = 21;
	condition = 1;
	text1 = "__";

begintalknode;
	tag = 22;
	condition = 1;
	text1 = "__";

////

begintalknode;
	tag = 30;
	state = -1;
	nextstate = 10;
	condition = 1;
	question = "Name";
	text1 = "You come face to face with the lich Zkal. He died long ago, but his incredible magic power has kept him active, animated, and angry for centuries.";
	text2 = "The lich points at you. _You invade the lair of Zkal! Does the Empire not know? Zkal claims this island! This land is corrupted by Zkal, and Zkal likes it this way!_";
	code =
		set_attitude(7106,10);
		set_attitude(7100,10);
		set_attitude(7101,10);
	break;
	
begintalknode;
	state = 10;
	nextstate = -1;
	condition = 1;
	question = "_Where are you from?_";
	text1 = "Zkal is flattered that you asked. He hasn't had anyone to talk to for a long time. _I was born a poor lad in the city of Gelbroth, in the far land of Gyan._ You've never heard of those places.";
	text2 = "Zkal spends a good hour telling his life story: his rise to power, his betrayal of those who taught him magic, his adventures in life, his conversion into eternal unlife, and his claiming of this island for his own.";
	text3 = "He goes on for a while, as the dark energy of this tower slowly saps your energy. At least you learned a lot.";
	code =
		if (gf(71,29) == 0) {
			sf(71,29,1);
			award_party_xp(200,28);
			}
		set_char_status(3000,3,10);
	break;

begintalknode;
	state = 10;
	nextstate = 11;
	condition = 1;
	question = "_Why is this fortress here?_";
	text1 = "_It is my home. The land provides me energy. All life that tries to land here, I absorb it for my power._";
	text2 = "_One day, I will expand and claim all of these lands! Then the world!_";

begintalknode;
	state = 10;
	nextstate = -1;
	condition = 1;
	question = "_Enough delay. Die, monster!_ Attack.";
	text1 = "Zkal shrugs his bony shoulders. _Fine. I will consume you now. You will only increase my power._";
	action = END_TALK;

begintalknode;
	state = 11;
	nextstate = 12;
	condition = 1;
	question = "_Are you responsible for the monster plagues?_";
	text1 = "_What? Those pests? Those slimes and walking statues? No. They are made by a great power, though. I can sense it._";

begintalknode;
	state = 12;
	nextstate = 13;
	condition = 1;
	question = "_Tell me who is responsible._";
	text1 = "_I don't know yet. I do know that the powers of humanity and monster will exhaust themselves fighting, and I will easily swoop in and absorb everything!_";
	text2 = "_First, though. I need to gain strength. I will absorb the convenient available energy._";

begintalknode;
	state = 13;
	nextstate = -1;
	condition = 1;
	question = "_Convenient available energy?_";
	text1 = "_You, dummy! I mean you! I will claim your spirit and feed of it! Hah hah!_";
	action = END_TALK;

//

begintalknode;
	tag = 40;
	state = -1;
	nextstate = 40;
	condition = 1;
	question = "Name";
	text1 = ".";
	text2 = "";
	text5 = ".";
	action = INTRO;

begintalknode;
	state = 40;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 40;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 40;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 40;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 40;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 40;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 40;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 40;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 40;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 40;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 40;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

	
//

begintalknode;
	tag = 70;
	state = -1;
	nextstate = 70;
	condition = 1;
	question = "Name";
	text1 = ".";
	text2 = "";
	text5 = ".";
	action = INTRO;

begintalknode;
	state = 70;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 70;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 70;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 70;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 70;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 70;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 70;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 70;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 70;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";


//

begintalknode;
	tag = 100;
	state = -1;
	nextstate = 100;
	condition = 1;
	question = "Name";
	text1 = ".";
	text2 = "";
	text5 = ".";
	action = INTRO;

begintalknode;
	state = 100;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

//

begintalknode;
	tag = 130;
	state = -1;
	nextstate = 130;
	condition = 1;
	question = "Name";
	text1 = ".";
	text2 = "";
	text5 = ".";
	action = INTRO;

begintalknode;
	state = 130;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

//

begintalknode;
	tag = 160;
	state = -1;
	nextstate = 160;
	condition = 1;
	question = "Name";
	text1 = ".";
	text2 = "";
	text5 = ".";
	action = INTRO;

begintalknode;
	state = 160;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";
		
//

begintalknode;
	tag = 190;
	state = -1;
	nextstate = 190;
	condition = 1;
	question = "Name";
	text1 = ".";
	text2 = "";
	text5 = ".";
	action = INTRO;

begintalknode;
	state = 190;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";
				